@layout("/common/_container.html",{js:["/assets/basic/basicGoods/basicGoods.js"]}){
<div class="layui-body-header">
    <span class="layui-body-header-title">Goods Management</span> <!-- 商品表管理 -->
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
		                        <select id="goodsCustomerId">
		                            <option value="">Select Customer</option> <!-- 选择客户 -->
		                            @for(item in customerlist!){
		                            <option value="${item.id}">${item.customerName}</option>
		                            @}
		                        </select>
                            </div>
				            <div class="layui-inline">
				                <input id="condition" class="layui-input" type="text" placeholder="Keyword"/> <!-- 关键词 -->
				            </div>
				            <div class="layui-inline">
				                <input id="goodsSpecs" class="layui-input" type="text" placeholder="Specifications"/> <!-- 规格 -->
				            </div>
							<div class="layui-inline">
								<input id="goodsBigtype" class="layui-input" type="text" placeholder="Category"/> <!-- 大类 -->
							</div>
							<div class="layui-inline">
								<input id="goodsType" class="layui-input" type="text" placeholder="Type"/> <!-- 类别 -->
							</div>
							<div class="layui-inline">
								<input id="minPrice" type="number" lay-affix="number" placeholder="Custom Min Price" step="10" min="0" max="999999999" precision="2" class="layui-input"> <!-- 自定义最低价 -->
							</div>

							<div class="layui-inline">
								—
							</div>
							<div class="layui-inline">
								<input id="maxPrice" type="number" lay-affix="number" placeholder="Custom Max Price" step="10" min="0" max="999999999" precision="2" class="layui-input"> <!-- 自定义最高价 -->
							</div>

				            <div class="layui-inline">
				                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>Search</button> <!-- 搜索 -->
				                <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>Add</button> <!-- 添加 -->
				                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>Export</button> <!-- 导出 -->
				                <button id="btnExpBySpec" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>Export XLSX by Condition</button> <!-- 按条件导出XLSX格式 -->
				                <button id="btnExpimport" class="layui-btn icon-btn"><i class="layui-icon">&#xe67c;</i>Import Excel</button> <!-- 导入excel -->
			                	<!-- <button id="pullSd" class="layui-btn icon-btn"><i class="layui-icon">&#xe601;</i>Pull Shanding New Goods</button> --> <!-- 拉取商鼎新商品 -->
				                <!-- <button id="btnExpimportUpdate" class="layui-btn icon-btn"><i class="layui-icon">&#xe67c;</i>Import Update Excel</button> --> <!-- 导入更新excel -->
				                <button id="btnPrint" class="layui-btn layui-btn-normal"><i class="layui-icon layui-icon-print"></i>Batch Print Product Codes</button> <!-- 批量打印商品码 -->
				            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="basicGoodsTable" lay-filter="basicGoodsTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">Edit</a> <!-- 修改 -->
	@if(shiro.hasPermission("/basicGoods/delete")){
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">Delete</a> <!-- 删除 -->
	@}
</script>



@}